//计算用户总数

package com.neuedu.hadoop.taobao.Step02.Base;

import com.neuedu.hadoop.taobao.Step02.JobMain.Step02_JobMain_UserCnt;
import com.neuedu.hadoop.taobao.Step02.JobMain.Step02_JobMain_UserCnt_02;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.util.ToolRunner;

public class Step02_Usercnt_JobMain_Base {
    public static void main(String[] args) throws Exception {
        Configuration conf = new Configuration();
        // 执行第二步-用户行为统计-步骤1
        int run = ToolRunner.run(conf, new Step02_JobMain_UserCnt(), args);
        if (run == 1) {
            // 进程退出
            System.exit(run);
        }
        // 执行第二步-用户行为统计-步骤2
        run = ToolRunner.run(conf, new Step02_JobMain_UserCnt_02(), args);
        System.exit(run);
    }
}
